body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.container {
    display: flex;
    flex-direction: column;
    margin: 120px auto 120px auto;
    max-width: 1200px;
    box-sizing: border-box;
}

.about_top {
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.typetext {
    font-size: 20px;
    color: #555;
}

.com_name {
    font-size: 40px;
}

.about_as_wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start;
    min-height: 400px;
}

.about_as {
    display: flex;
    flex: 1;
    flex-direction: column;
    height: 100%;
}

.about_as .title {
    font-size: 20px;
    font-weight: 400;
    color: #212322;
}

.about_as img {
    width: 100% !important;
    max-width: 535px !important;
    height: auto;
    max-height: 300px;
    margin: 10px 0;
    border-radius: 8px;
    object-fit: cover;
}

.des {
    font-size: 14px;
    color: #444;
    font-weight: 300;
    padding-left: 20px;
}

.des p {
    line-height: 1.8;
}

.gra .des p:nth-child(4),
.gra .des p:nth-child(5) {
    color: #aaa;
}

.dev .des p:nth-child(3),
.dev .des p:nth-child(4),
.dev .des p:nth-child(5) {
    color: #aaa;
}

.tool_top {
    margin-top: 80px;
    display: flex;
    justify-content: space-between;
}

.tool_top .service {
    background-color: #009ade;
    color: white;
    border-radius: 999px;
    padding: 2px 10px;
    font-weight: 300;
    cursor: pointer;
}

.tool_top .service:hover {
    background-color: #007fb6;
    transition: .4s;
}

#graModal, #devModal {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

#graCloseBtn, #devCloseBtn {
    position: sticky;
    position: -webkit-sticky;
    display: block;
    float: right;
    top: 0;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    color: #555;
    border: none;
    background: transparent;
}

#graContent, #devContent {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    width: 450px;
    height: 600px;
    padding: 20px;
    font-size: 14px;
    border-radius: 8px;
    overflow: auto;
    animation: fadeUp ease 0.3s;
}

@keyframes fadeUp {
    0% {
        transform: translateY(-1000px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.gra-service, .dev-service {
    padding: 20px;
}

.gra-service h2, .dev-service h2 {
    margin-bottom: 30px;
    font-weight: 600;
    border-bottom: 2px solid #009ade;
}

.gra-service li, .dev-service li {
    list-style: none;
    padding-left: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 400;
    color: #555;
}

.gra-service i, .dev-service i {
    color: #009ade;
    font-size: 18px;
    margin-right: 10px;
}

#graModal.hidden, #devModal.hidden {
    display: none;
}

.tool_title {
    font-size: 18px;
}

.tool_img {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.tool_icon {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tool_icon img {
    margin-top: 10px;
    height: 40px;
    object-fit: cover;
}

.tool_icon .tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #333;
    color: #fff;
    padding: 2px 10px;
    white-space: nowrap;
    border-radius: 999px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 10;
}

.tool_icon .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.tool_icon:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%), translateY(0);
}

.webdev .tool_icon:nth-child(5) img {
    width: 100px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }

    .about_top {
        margin-top: -20px;
    }
    
    .com_name {
        font-size: 30px;
    }

    .typetext {
        font-size: 14px;
    }

    .about_as_wrap {
        flex-direction: column;
    }
    
    .about_as img {
        height: auto;
    }

    .tool_top {
        margin-top: 30px;
    }

    .tool_top .service {
        font-size: 14px;
    }

    #graContent, #devContent {
        width: 95%;
    }
}

/* Representative Projects */
.rep-pro-sec {
    margin-top: 120px;
}

.rep-title {
    justify-content: center;
    text-align: center;
    margin-bottom: 50px;
}

.rep-project {
    font-size: 20px;
    font-weight: 500;
    color: #212322;
    padding: 4px 14px;
    border: 1px solid #aaa;
    border-radius: 999px;
}

.blog-slider {
    width: 95%;
    position: relative;
    max-width: 800px;
    margin: auto;
    background: #fff;
    box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
    padding: 25px;
    border-radius: 25px;
    height: 400px;
    transition: all 0.3s;
 }


  @media screen and (max-width: 992px) {
    .blog-slider {
      max-width: 680px;
      height: 400px;
   }
 }

  @media screen and (max-width: 768px) {
    .blog-slider {
      min-height: 500px;
      height: auto;
      margin: 180px auto 10px auto;
   }
 }

  @media screen and (max-height: 500px) and (min-width: 992px) {
    .blog-slider {
      height: 350px;
   }
 }

  .blog-slider__item {
    display: flex;
    align-items: center;
 }

  @media screen and (max-width: 768px) {
    .blog-slider__item {
      flex-direction: column;
   }
 }

  .blog-slider__item.swiper-slide-active .blog-slider__img img {
    opacity: 1;
    transition-delay: 0.3s;
 }

  .blog-slider__item.swiper-slide-active .blog-slider__content > * {
    opacity: 1;
    transform: none;
 }

  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(1) {
    transition-delay: 0.3s;
 }

  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(2) {
    transition-delay: 0.4s;
 }

  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(3) {
    transition-delay: 0.5s;
 }

  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(4) {
    transition-delay: 0.6s;
 }

  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(5) {
    transition-delay: 0.7s;
 }

  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(6) {
    transition-delay: 0.8s;
 }

  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(7) {
    transition-delay: 0.9s;
 }

  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(8) {
    transition-delay: 1s;
 }

  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(9) {
    transition-delay: 1.1s;
 }

  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(10) {
    transition-delay: 1.2s;
 }

  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(11) {
    transition-delay: 1.3s;
 }

  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(12) {
    transition-delay: 1.4s;
 }

  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(13) {
    transition-delay: 1.5s;
 }

  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(14) {
    transition-delay: 1.6s;
 }

  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(15) {
    transition-delay: 1.7s;
 }

  .blog-slider__img {
    width: 300px;
    flex-shrink: 0;
    height: 300px;
    background: #009ade;
    box-shadow: 4px 4px 10px 1px rgba(203, 206, 208, 0.5);
    border-radius: 20px;
    transform: translateX(-80px);
    overflow: hidden;
 }

  .blog-slider__img:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    opacity: 0.8;
 }

  .blog-slider__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    border-radius: 20px;
    transition: all 0.3s;
 }

  @media screen and (max-width: 768px) {
    .blog-slider__img {
      transform: translateY(-50%);
      width: 90%;
   }
 }

  @media screen and (max-width: 576px) {
    .blog-slider__img {
      width: 95%;
   }
 }

  @media screen and (max-height: 500px) and (min-width: 992px) {
    .blog-slider__img {
      height: 270px;
   }
 }

  .blog-slider__content {
    padding-right: 0;
    margin-left: -20px;
 }

  @media screen and (max-width: 768px) {
    .blog-slider__content {
      margin-top: -80px;
      text-align: center;
      padding: 0 30px;
   }
 }

  @media screen and (max-width: 576px) {
    .blog-slider__content {
      padding: 0;
   }
 }

  .blog-slider__content > * {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.4s;
 }
     
  .blog-slider__code {
    color: #7b7992;
    margin-bottom: 15px;
    display: block;
    font-weight: 500;
 }
 
 .blog-slider__subtitle {
     color: #4b4b4b;
       font-size: 14px;
 }
     
  .blog-slider__title {
    font-size: 24px;
    font-weight: 700;
    color: #0d0925;
    margin-bottom: 20px;
 }
     
  .blog-slider__text {
    color: #4e4a67;
    margin-bottom: 30px;
    line-height: 1.5em;
    display: flex;
    flex-wrap: wrap;
    color: #4f4f4f;
 }
     
 @media (max-width: 768px) {
   .blog-slider__text {
     font-size: 14px;
   }
 }
     
 .blog-slider__feature {
     color: #4e4a67;
       margin-bottom: 30px;
 }
     
 @media (max-width: 768px) {
   .blog-slider__feature {
     font-size: 14px;
   }
 }
     
 #uut, #rt, #aloe {
     padding: 4px 10px;
       border-radius: 20px;
 }
     
 #uut {
    border: 1px solid #009ade;
    color: #212322;
 }
     
 #rt {
    border: 1px solid #009ade;
    color: #212322;
 }
     
 #aloe {
    border: 1px solid #009ade;
    color: #212322;
 }
     
 .blog-slider__whens {
    display: flex;
    gap: 15px;
    list-style: none;
    margin-bottom: 5px;
    padding: 0 !important
 }
     
 @media (max-width: 768px) {
   .blog-slider__when {
     font-size: 14px;
   }
 }
     
 .blog-slider__personality {
     color: #acacac;
       margin-bottom: 20px;
 }
     
  .blog-slider__button {
    display: inline-flex;
    background: #009ade;
    padding: 8px 20px;
    border-radius: 50px;
    color: #fff !important;
    box-shadow: 0px 14px 80px rgba(23, 117, 189, 0.2);
    text-decoration: none;
    font-weight: 500;
    justify-content: center;
    text-align: center;
    letter-spacing: 1px;
 }
  @media screen and (max-width: 576px) {
    .blog-slider__button {
      width: 100%;
   }
 }

  .blog-slider .swiper-container-horizontal > .swiper-pagination-bullets, .blog-slider .swiper-pagination-custom, .blog-slider .swiper-pagination-fraction {
    bottom: 10px;
    left: 0;
    width: 100%;
 }

  .blog-slider__pagination {
    position: absolute;
    z-index: 21;
    right: 20px;
    width: 11px !important;
    text-align: center;
    left: auto !important;
    top: 50%;
    bottom: auto !important;
    transform: translateY(-50%);
 }

  @media screen and (max-width: 768px) {
    .blog-slider__pagination {
      transform: translateX(-50%);
      left: 50% !important;
      top: 205px;
      width: 100% !important;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 5px;
   }
 }

  .blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 8px 0 !important;
 }

  @media screen and (max-width: 768px) {
    .blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
      margin: 0 5px;
   }
 }

  .blog-slider__pagination .swiper-pagination-bullet {
    width: 11px;
    height: 11px;
    display: block;
    border-radius: 10px;
    background: #009ade;
    opacity: 0.2;
    transition: all 0.3s;
 }

  .blog-slider__pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: #009ade;
    height: 30px;
    box-shadow: 0px 0px 20px rgba(23, 117, 189, 0.2);
 }
 
  @media screen and (max-width: 768px) {
    .blog-slider__pagination .swiper-pagination-bullet-active {
      height: 11px;
      width: 30px;
   }
 }

/* Project History */
.history-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  max-width: 1000px;
  margin: 50px auto;
  border-radius: 12px;
}

.section-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 30px;
  text-align: center;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.history-year-group {
  border-left: 5px solid #009ade;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  background-color: #fff;
  overflow: hidden;
  transition: all 0.3s ease;
}

.year-label {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  padding: 16px 20px;
  cursor: pointer;
  position: relative;
}

.year-label::after {
  content: "▾";
  position: absolute;
  right: 20px;
  transition: transform 0.3s ease;
}

.history-year-group.collapsed .year-label::after {
  transform: rotate(-90deg);
}

.project-list {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
  padding: 0 20px;
  margin: 0;
  list-style: disc inside;
}

.project-list li {
  list-style: none;
  margin-left: 10px;
  color: #999;
  font-size: 14px;
  line-height: 1.8em;
}

/*
.history-year-group.collapsed .project-list {
  display: none;
}
*/

.history-year-group:not(.collapsed) .project-list {
  max-height: 1000px; /* Set a large scale */
  opacity: 1;
  transform: translateY(0);
  padding-bottom: 16px;
}

/* Partners */
.pn-section {
  margin: 100px auto;
  padding: 20px;
  overflow: hidden;
}

.pn-title {
  display: flex;
  justify-content: center;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 50px;
}

.title-text {
  padding: 2px 16px;
  border: 1px solid #aaa;
  border-radius: 999px;
}

.pn-slide {
  width: 100%;
}

.partners {
  display: flex;
  gap: 50px;
  animation: scrollAnimation 40s linear infinite;
  width: max-content;
}

@keyframes scrollAnimation {
  0%, 100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-100%);
  }
}

.partners img {
  height: 100px;
  width: auto;
  padding: 20px;
}

.partner {
  width: 200px;
  margin: 0 10px;
}

@media (max-width: 768px) {
  .partners {
    gap: 10px;
  }

  @keyframes scrollAnimation {
  0%, 100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-50%);
  }
}
}